#include "ServerSocket.h"

int main()
{
	int sockfd;
	Online *head = (Online*)malloc(sizeof(Online));

	sockfd = InitNet();	//初始化套接字
	
	InitDatabase();		//初始sqlite3数据库

	InitLink(head);
	
	MainHandler(sockfd, head);		
	
	return 0;
}
